import request from '../../../../../public/js/common/api/api.js';
const AccountUrl = Utils.CurDomain.AccountUrl;
const configuration = {
    contentType: 'application/json',
    dataType: 'json',
    async: true,
    dataFilter(data, type) {
        return data;
    }
}

/**
 * @file神农招聘API
 */
export default class RecommendAPI {
    // 查询投递岗位列表
    static mycomList(data) {
        let { code, pageIndex, pageSize } = data;
        return request.get(`${Utils.CurDomain.JobUrl}/jobcvs/by/q?Code=${code}&pageSize=${pageSize}&pageIndex=${pageIndex}`);
    }
    // 获取登录用户对应的职员信息 
    static getLoginUserToStaff() {
        return request.get(`${AccountUrl}/accounts/eply`);
    }
}